<template>
	<view id="page">
		<nav-bar :navH="navH" :isTabar="false" :isHome="false" :pageName="title"></nav-bar>
		<view class="contact">
			<image src="../../static/39.jpg" mode="widthFix" lazy-load="true" @click="phoneCall"></image>
			<button open-type="contact" plain="false">
				<image src="../../static/40.jpg" mode="widthFix" lazy-load="true"></image>
			</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '在线咨询',
				navH: null,
			}
		},
		onLoad(options) {
			this.navH = this.$store.state.navHeight;
		},
		methods: {
			/**
			 * @des 拨打电话
			 */
			phoneCall() {
				uni.makePhoneCall({
					phoneNumber: '114'
				})
			}
		}
	}
</script>

<style>
	.contact {padding: 60upx 90upx; border-bottom: 1px solid #eee; background-color: #fff;}
	.contact image {}
	.contact button {margin-top: 40upx; padding: 0; border: 0;}
</style>
